package edu.ncst.baseweb.service.impl.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabInfo;
import edu.ncst.baseweb.mapper.LabInfoMapper;
import edu.ncst.baseweb.service.intrer.web.LabInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabInfoServiceImpl implements LabInfoService {
    @Autowired
    private LabInfoMapper LabInfoMapper;
    @Override
    public Result<List<LabInfo>> list(){

        List<LabInfo> LabInfoList = LabInfoMapper.selectList(null);

        return Result.ok(LabInfoList);
    }
}
